page {
  background-color: #fff;
  --user-box-height: 500rpx;
}

.bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.user-box {
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  width: 100%;
  height: var(--user-box-height);
  background-color: #F73A44;

  .my-score {
    padding-top: 15rpx;
    color: white;
    margin: 0 50rpx;
    position: relative;
    z-index: 2;

    .top-box {
      font-size: 26rpx;
    }

    .bottom-box {
      display: flex;
      align-items: center;

      .socre-num {
        font-size: 70rpx;
      }

      .money {
        font-family: PingFang SC;
        font-size: 46rpx;
      }
    }
  }

  .person-box {
    position: relative;
    z-index: 2;
    box-sizing: border-box;
    background: linear-gradient(90deg, #21262E 30%, #475578 100%);
    color: white;
    padding: 20rpx;
    border-top-left-radius: 15rpx;
    border-top-right-radius: 15rpx;
    margin: 20rpx;
    height: 250rpx;

    .bg-img {
      position: absolute;
      left: 0;
      right: 0;
    }

    .top-box {
      display: flex;
      align-items: center;
      padding-bottom: 15rpx;

      .avatar {
        --size: 50rpx;
        width: var(--size);
        height: var(--size);
        border-radius: 9999rpx;
        background-color: red;
        margin-right: 15rpx;
      }

      .name {
        font-size: 36rpx;
        padding-right: 15rpx;
      }

      .tag {
        text-align: center;
        line-height: 26rpx;
        height: 26rpx;
        padding: 0 10rpx;
        background-color: orange;
        border-radius: 5rpx;
        color: #333333;
        font-size: 18rpx;
      }
    }

    .bottom-box {
      text-align: right;
      font-size: 26rpx;
    }
  }
}

.detail-box {
  --height: 15rpx;
  background-color: white;

  .card-border-top {
    --bg-color: rgb(255, 71, 71);
    position: relative;
    width: calc(100% - 60rpx);
    margin: 10rpx 30rpx;
    height: var(--height);
    background-color: var(--bg-color);
    box-shadow: 0 calc(var(--height) / 2) calc(var(--height) * 1.5) rgb(255, 70, 101);
    z-index: 9999;

    &::before,
    &::after {
      content: "";
      position: absolute;
      top: 0;
      width: var(--height);
      background-color: var(--bg-color);
      height: calc(var(--height) * 2);
    }

    &::before {
      left: calc(0px - var(--height));
      border-top-left-radius: var(--height);
      border-bottom-left-radius: var(--height);
    }

    &::after {
      right: calc(0px - var(--height));
      border-top-right-radius: var(--height);
      border-bottom-right-radius: var(--height);
    }
  }

  .scroll-box {
    box-sizing: border-box;
    height: calc(100vh - var(--bar-height) - var(--height) - 54px);

    .empty {
      height: 30rpx;
      width: 100%;
    }
  }

  .recommand-list {
    box-shadow: 0 0 20rpx 10rpx rgba(0, 0, 0, 0.1);
    margin: 0 30rpx;

    .recommand-item {
      border-bottom: 1rpx dashed #cccccc;
      padding: 20rpx 30rpx;

      &:last-child {
        border-bottom: none;
      }

      .top-box {
        display: flex;
        align-items: center;

        .name {
          font-weight: bold;
        }

        .tag {
          height: 30rpx;
          line-height: 30rpx;
          padding: 0 10rpx;
          border-radius: 5rpx;
          margin: 0 15rpx;
          font-size: 20rpx;

          &.fail {
            background-color: #ffcdce;
            color: #F73A44;
          }

          &.success {
            background-color: rgb(183, 255, 183);
            color: rgb(0, 148, 0);
          }

          &.unkonw {
            background-color: #e6e6e6;
            color: #808080;
          }
        }
      }

      .bottom-box {
        padding-top: 20rpx;
        color: rgb(129, 129, 129);
        font-size: 24rpx;
      }
    }
  }

  .score-list {
    box-shadow: 0 0 20rpx 10rpx rgba(0, 0, 0, 0.1);
    margin: 0 30rpx;
    position: relative;

    .sum-top {
      position: sticky;
      top: 0;
      display: flex;
      justify-content: space-between;
      background-color: white;
      padding: 10rpx 30rpx;
      color: rgb(150, 150, 150);
      border-bottom: 1rpx dashed #cccccc;
    }

    .score-item {
      border-bottom: 1rpx dashed #cccccc;
      padding: 20rpx 30rpx;
      line-height: 60rpx;

      &:last-child {
        border-bottom: none;
      }

      .top-box {
        .title {
          font-size: 28rpx;
        }
      }

      .value {
        font-size: 46rpx;
        font-weight: 500;
      }

      .bottom-box {
        color: rgb(129, 129, 129);
        font-size: 24rpx;
      }
    }
  }
}

.van-field__label {
  width: 250px;
}

.van-field__label {
  width: 250px;
}


.van-tab {
  padding: 0 32rpx !important;
  font-size: 30rpx !important;
  flex: none !important;
  font-family: PingFang SC !important;
}

.van-tab--active>.van-ellipsis {
  font-size: 36rpx !important;
  transition: all 0.2s ease-in;
  font-family: PingFang SC !important;
}

.van-tabs__scroll {
  // background-color: transparent !important;
}